#!/bin/bash

# 测试导出一个没有数据的表：ems_ts.em000000_15min_k201000207
# file_count=$(ls -1 /mnt/sdc/opt/ems-archive/test | wc -l)
# echo "$(($file_count-2))"

ls -1 /mnt/sdc/opt/ems-archive/test/*.csv 2>/dev/null | wc -l